/*
package com.anyou.mall.goo.goodsComment.controller;

import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.anyou.common.annotation.Log;
import com.anyou.common.core.controller.BaseController;
import com.anyou.common.core.domain.ApiResult;
import com.anyou.common.enums.BusinessType;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import com.anyou.mall.goo.goodsComment.domain.GooGoodsCommentAdd;
import com.anyou.mall.goo.goodsComment.service.IGooGoodsCommentAddService;
import com.anyou.common.utils.poi.ExcelUtil;
import com.anyou.common.core.page.TableDataInfo;

*/
/**
 * 商品评论追加Controller
 *
 * @author xiaq
 * @date 2022-04-11
 *//*

@Api(tags = "商品评论追加")
@RestController
@RequestMapping("/goo/goodsCommentAdd")
public class GooGoodsCommentAddController extends BaseController
{
    @Autowired
    private IGooGoodsCommentAddService gooGoodsCommentAddService;

    */
/**
     * 查询商品评论追加列表
     *//*

    @ApiOperation("查询商品评论追加列表")
    @PreAuthorize("@ss.hasPermi('goo:goodsCommentAdd:list')")
    @GetMapping("/list")
    public TableDataInfo<List<GooGoodsCommentAdd>> list(GooGoodsCommentAdd gooGoodsCommentAdd)
    {
        startPage();
        List<GooGoodsCommentAdd> list = gooGoodsCommentAddService.selectGooGoodsCommentAddList(gooGoodsCommentAdd);
        return getDataTable(list);
    }

    */
/**
     * 导出商品评论追加列表
     *//*

    @ApiOperation("导出商品评论追加列表")
    @PreAuthorize("@ss.hasPermi('goo:goodsCommentAdd:export')")
    @Log(title = "商品评论追加", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, GooGoodsCommentAdd gooGoodsCommentAdd)
    {
        List<GooGoodsCommentAdd> list = gooGoodsCommentAddService.selectGooGoodsCommentAddList(gooGoodsCommentAdd);
        ExcelUtil<GooGoodsCommentAdd> util = new ExcelUtil<GooGoodsCommentAdd>(GooGoodsCommentAdd.class);
        util.exportExcel(response, list, "商品评论追加数据");
    }

    */
/**
     * 获取商品评论追加详细信息
     *//*

    @ApiOperation("获取商品评论追加详细信息")
    @PreAuthorize("@ss.hasPermi('goo:goodsCommentAdd:query')")
    @GetMapping(value = "/{goodsCommentAddId}")
    public ApiResult<GooGoodsCommentAdd> getInfo(@PathVariable("goodsCommentAddId") Long goodsCommentAddId)
    {
        return ApiResult.success(gooGoodsCommentAddService.selectGooGoodsCommentAddByGoodsCommentAddId(goodsCommentAddId));
    }

    */
/**
     * 新增商品评论追加
     *//*

    @ApiOperation("新增商品评论追加")
    @PreAuthorize("@ss.hasPermi('goo:goodsCommentAdd:add')")
    @Log(title = "商品评论追加", businessType = BusinessType.INSERT)
    @PostMapping
    public ApiResult add(@RequestBody GooGoodsCommentAdd gooGoodsCommentAdd)
    {
        return ApiResult.success(gooGoodsCommentAddService.insertGooGoodsCommentAdd(gooGoodsCommentAdd));
    }

    */
/**
     * 修改商品评论追加
     *//*

    @ApiOperation("修改商品评论追加")
    @PreAuthorize("@ss.hasPermi('goo:goodsCommentAdd:edit')")
    @Log(title = "商品评论追加", businessType = BusinessType.UPDATE)
    @PutMapping
    public ApiResult edit(@RequestBody GooGoodsCommentAdd gooGoodsCommentAdd)
    {
        return ApiResult.success(gooGoodsCommentAddService.updateGooGoodsCommentAdd(gooGoodsCommentAdd));
    }

    */
/**
     * 删除商品评论追加
     *//*

    @ApiOperation("删除商品评论追加")
    @PreAuthorize("@ss.hasPermi('goo:goodsCommentAdd:remove')")
    @Log(title = "商品评论追加", businessType = BusinessType.DELETE)
    @DeleteMapping("/{goodsCommentAddIds}")
    public ApiResult remove(@PathVariable Long[] goodsCommentAddIds)
    {
        return ApiResult.success(gooGoodsCommentAddService.deleteGooGoodsCommentAddByGoodsCommentAddIds(goodsCommentAddIds));
    }
}
*/
